import request from '@/utils/request'

//机器人告警信息列表
export function getAlarmList(data) {
    return request({
      url: '/cyjqr/cyAlarmInfo/cyListInfo',
      method: 'get',
      params:data
    })
} 

//删除
export function DeleteWarn(id) {
  return request({
    url: '/cyjqr/cyAlarmInfo/' + id,
    method: 'delete'
  })
} 

//处理告警信息
export function ChangeState(id) {
  return request({
    url: '/cyjqr/cyAlarmInfo/' + id,
    method: 'get'
  })
} 